package com.item.mapper;

import com.item.domain.Goods;
import com.item.domain.GoodsCategoryName;
import com.item.po.GoodsPo;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
public interface GoodsListMapper extends Mapper<Goods> {

    List<GoodsPo> findAll(GoodsPo goods);

    List<GoodsCategoryName> goodsCategoryNameList();

    GoodsPo selectByPrimaryKeyName(int id);

    int reqUpdateShelves(Goods goods1);
}